package com.dmgis.hndz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dmgis.hndz.mapper.Ybba02cMapper;
import com.dmgis.hndz.pojo.Ybba02c;
import com.dmgis.hndz.service.Ybba02cService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author PC
* @description 针对表【ybba02c(市级预警临时表)】的数据库操作Service实现
* @createDate 2024-01-29 17:47:43
*/
@Service
public class Ybba02cServiceImpl extends ServiceImpl<Ybba02cMapper, Ybba02c>
    implements Ybba02cService {


    @Override
    public List<Ybba02c> getProduct(String advcode, String startTime, String endTime) {
        List<Ybba02c> ybba02c = baseMapper.getProduct(advcode, startTime, endTime);
        return ybba02c;
    }

    @Override
    public Ybba02c getProductone(String advcode) {
        Ybba02c ybba02c = baseMapper.getProductone(advcode);
        return ybba02c;
    }
}




